import request from "@/utils/request";

export function getData(data) {
  return request({
    url: "api/v1/market/index",
    method: "post",
    data
  });
}

export function getSearch(data) {
  return request({
    url: "api/common/different/state",
    method: "post",
    data
  });
}

export function getDetail(data) {
  return request({
    url: "api/v1/market/info",
    method: "post",
    data
  });
}

export function getbusiness(data) {
  return request({
    url: "api/v1/business/index",
    method: "post",
    data
  });
}



export function getmarketlist(data) {
  return request({
    url: "api/v1/market/list",
    method: "post",
    data
  });
}

export function gethealth(data) {
  return request({
    url: "api/v1/business/health",
    method: "post",
    data
  });
}